package top.mable.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import top.mable.service.ProductService;

/**
 * @author taffywen
 * @date 2022/3/22 23:23
 */

@RestController
@RequestMapping("/consumer")
public class ConsumerController {

    @Autowired
    private ProductService productService;

    @RequestMapping("/getAllService")
    public void getAllService(){
        productService.getService();

    }
}
